package br.com.hotel.dao;

import java.util.List;

import br.com.hotel.entity.Cliente;
import br.com.hotel.entity.TabelaPreco;

public class TabelaPrecoDAO extends GenericJpaRepository<TabelaPreco, Long>{
public List<TabelaPreco> tabelaPrecos;
	
	
	public TabelaPrecoDAO() throws ClassNotFoundException{
		createEntityManager();
	}
	
	public List<TabelaPreco> getTabelaPrecos(){
		
		return findByNamedQuery("TabelaPreco.findAll");
	}
	
	
}
